Skip to content

Conversation

@EvieePy
Copy link
Member

@EvieePy EvieePy commented Jul 21, 2025

Description

Add the .respond coroutine to a majority of EventSub models that support it, allowing the bot to send a message to the channel the event originated from.

Since it's virtually impossible for me to test each event directly, could someone please heavily scrutinize the changes to make sure no major breaking bugs will be introduced.

The changes have been tested on the ChatMessage payload.

  • Added AutomodMessageHold.respond
  • Added AutomodSettingsUpdate.respond
  • Added AutomodTermsUpdate.respond
  • Added ChannelBitsUse.respond
  • Added ChannelUpdate.respond
  • Added ChannelFollow.respond
  • Added ChannelAdBreakBegin.respond
  • Added ChannelChatClear.respond
  • Added ChannelChatClearUserMessages.respond
  • Added ChatMessage.respond
  • Added ChatNotification.respond
  • Added ChatMessageDelete.respond
  • Added ChatSettingsUpdate.respond
  • Added SharedChatSessionBegin.respond
  • Added SharedChatSessionUpdate.respond
  • Added SharedChatSessionEnd.respond
  • Added ChannelSubscribe.respond
  • Added ChannelSubscriptionEnd.respond
  • Added ChannelSubscriptionGift.respond
  • Added ChannelSubscriptionMessage.respond
  • Added ChannelCheer.respond
  • Added ChannelBan.respond
  • Added ChannelUnban.respond
  • Added ChannelUnbanRequest.respond
  • Added ChannelUnbanRequestResolve.respond
  • Added ChannelModerate.respond
  • Added ChannelModeratorAdd.respond
  • Added ChannelModeratorRemove.respond
  • Added ChannelPointsAutoRedeemAdd.respond
  • Added ChannelPointsReward.respond
  • Added ChannelPointsRedemptionAdd.respond
  • Added ChannelPointsRedemptionUpdate.respond
  • Added ChannelPollBegin.respond
  • Added ChannelPollProgress.respond
  • Added ChannelPollEnd.respond
  • Added ChannelPredictionBegin.respond
  • Added ChannelPredictionProgress.respond
  • Added ChannelPredictionLock.respond
  • Added ChannelPredictionEnd.respond
  • Added SuspiciousUserUpdate.respond
  • Added SuspiciousUserMessage.respond
  • Added ChannelVIPAdd.respond
  • Added ChannelVIPRemove.respond
  • Added ChannelWarningAcknowledge.respond
  • Added ChannelWarningSend.respond
  • Added BaseCharityCampaign.respond
  • Added CharityCampaignDonation.respond
  • Added GoalBegin.respond
  • Added GoalProgress.respond
  • Added GoalEnd.respond
  • Added HypeTrainBegin.respond
  • Added HypeTrainProgress.respond
  • Added HypeTrainEnd.respond
  • Added ShieldModeBegin.respond
  • Added ShieldModeEnd.respond
  • Added ShoutoutCreate.respond
  • Added ShoutoutReceive.respond
  • Added StreamOnline.respond
  • Added StreamOffline.respond

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
    • I have updated the changelog with a quick recap of my changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)
  • I have read and agree to the Developer Certificate of Origin for this contribution

@EvieePy EvieePy merged commit 28ae24c into main Jul 27, 2025
15 checks passed
@EvieePy EvieePy deleted the feature/payload-respond branch August 5, 2025 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants